import { POST} from "@/services/request.js";
export default {
    addressAdd(data = {}){
        return POST({
            url: 'address/add',
            params: data
        })
    },
    addressDel(data = {}){
        return POST({
            url: 'address/del',
            params: data
        })
    },
    addressEdit(data = {}){
        return POST({
            url: 'address/edit',
            params: data
        })
    },
    getAddressList(data = {}){
        return POST({
            url: 'address/getAddressList',
            params: data
        })
    },
    setDefault(data = {}){
        return POST({
            url: 'address/setDefault',
            params: data
        })
    },
    getAddressById(data = {}){
        return POST({
            url: 'address/getAddressById',
            params: data
        })
    },
    addressOrder(data = {}) {
        return POST({
            url: 'address/order',
            params: data
        })
    }
}